package com.doghome.mysb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.doghome.mysb.dao.UserMapper;
import com.doghome.mysb.entity.User;
import com.doghome.mysb.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private UserMapper userMapper;
	
	@Override
	public User userByID(long userID) {
		return userMapper.selectByPrimaryKey(userID);
	}

}
